package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.PromotionHead;
import com.jsh.erp.datasource.entities.PromotionHeadExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PromotionHeadMapper {
    long countByExample(PromotionHeadExample example);

    int deleteByExample(PromotionHeadExample example);

    int deleteByPrimaryKey(String id);

    int insert(PromotionHead record);

    int insertSelective(PromotionHead record);

    List<PromotionHead> selectByExample(PromotionHeadExample example);

    PromotionHead selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PromotionHead record, @Param("example") PromotionHeadExample example);

    int updateByExample(@Param("record") PromotionHead record, @Param("example") PromotionHeadExample example);

    int updateByPrimaryKeySelective(PromotionHead record);

    int updateByPrimaryKey(PromotionHead record);
}